package com.scalar.chiptrack.operations.lotcorrection;

/**
 * Represents the model data for lot correction
 *
 * Author  : rohan
 * Date    : Jul 27, 2004
 * Version : 1.0 
 */
public class LotCorrection
{
    private String lotId;
    private String processType;
    private String processStepId;
    private String locationId;
    private String lotStatus;
    private String lotNumber;
    private String quantityIn;
    private String quantityOut;
    private String dateIn;
    private String dateOut;
    private String dieSize;
    private String grossDie;
    private String dateCode;
    //Added by KumaraSwamy on July 31st, 2004.
    private String locationName;
    private String vendorLotNumber;
    private String lotComments;

    private boolean modify; //indicates whether this lot can be modified.
    private boolean hold;

    private LotCorrectionList nextStageLotList; //list of lots in the next immediate stage pertaining to this lot

    public static final String LOT_STATUS_WIP = "Wip";

    public LotCorrection()
    {
        lotId         = "-1";
        processType   = "";
        processStepId = "-1";
        lotStatus     = "";
        lotNumber     = "";
        quantityIn    = "0";
        quantityOut   = "0";
        dateIn        = "";
        dateOut       = "";
        dieSize       = "";
        grossDie      = "";
        dateCode      = "";
        locationName  = "";
        vendorLotNumber  = "";
        lotComments  = "";
        modify        = false;

        nextStageLotList = new LotCorrectionList();
    }

    public String getLotId()
    {
        return lotId;
    }

    public void setLotId( String lotId )
    {
        this.lotId = lotId;
    }

    public String getProcessType()
    {
        return processType;
    }

    public void setProcessType( String processType )
    {
        this.processType = processType;
    }

    public String getProcessStepId()
    {
        return processStepId;
    }

    public void setProcessStepId( String processStepId )
    {
        this.processStepId = processStepId;
    }

    public String getLocationId()
    {
        return locationId;
    }

    public void setLocationId( String locationId )
    {
        this.locationId = locationId;
    }

    public String getLotStatus()
    {
        return lotStatus;
    }

    public void setLotStatus( String lotStatus )
    {
        this.lotStatus = lotStatus;
    }

    public String getLotNumber()
    {
        return lotNumber;
    }

    public void setLotNumber( String lotNumber )
    {
        this.lotNumber = lotNumber;
    }

    public String getQuantityIn()
    {
        return quantityIn;
    }

    public void setQuantityIn( String quantityIn )
    {
        this.quantityIn = quantityIn;
    }

    public String getQuantityOut()
    {
        return quantityOut;
    }

    public void setQuantityOut( String quantityOut )
    {
        this.quantityOut = quantityOut;
    }

    public String getDateIn()
    {
        return dateIn;
    }

    public void setDateIn( String dateIn )
    {
        this.dateIn = dateIn;
    }

    public String getDateOut()
    {
        return dateOut;
    }

    public void setDateOut( String dateOut )
    {
        this.dateOut = dateOut;
    }

    public String getDieSize()
    {
        return dieSize;
    }

    public void setDieSize( String dieSize )
    {
        this.dieSize = dieSize;
    }

    public String getGrossDie()
    {
        return grossDie;
    }

    public void setGrossDie( String grossDie )
    {
        this.grossDie = grossDie;
    }

    public String getDateCode()
    {
        return dateCode;
    }

    public void setDateCode( String dateCode )
    {
        this.dateCode = dateCode;
    }

    public String getLocationName()
    {
        return locationName;
    }

    public void setLocationName( String locationName )
    {
        this.locationName = locationName;
    }

    public String getVendorLotNumber()
    {
        return vendorLotNumber;
    }

    public void setVendorLotNumber( String vendorLotNumber )
    {
        this.vendorLotNumber = vendorLotNumber;
    }

    public String getLotComments()
    {
        return lotComments;
    }

    public void setLotComments( String lotComments )
    {
        this.lotComments = lotComments;
    }

    public LotCorrectionList getNextStageLotList()
    {
        return nextStageLotList;
    }

    public void setNextStageLotList( LotCorrectionList nextStageLotList )
    {
        this.nextStageLotList = nextStageLotList;
    }

    public boolean isModify()
    {
        return modify;
    }

    public void setModify( boolean modify )
    {
        this.modify = modify;
    }
    public boolean isHold()
    {
        return hold;
    }

    public void setHold( boolean hold )
    {
        this.hold = hold;
    }
}
